package com.gtw.modules.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 分红规则
 * @author wuye
 */
public class TbDividendRule implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;

    /**
     * 分红规则名称
     */
    private String name;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * 规则明细
     */
    private String rule;

    /**
     * 首购抽到资金池比例
     */
    private Float firstproportion;

    /**
     * 复购抽到资金池比例
     */
    private Float proportion;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getRule() {
        return rule;
    }

    public void setRule(String rule) {
        this.rule = rule == null ? null : rule.trim();
    }

    public Float getFirstproportion() {
        return firstproportion;
    }

    public void setFirstproportion(Float firstproportion) {
        this.firstproportion = firstproportion;
    }

    public Float getProportion() {
        return proportion;
    }

    public void setProportion(Float proportion) {
        this.proportion = proportion;
    }
}